package com.hospital.mapper;

import com.hospital.pojo.Ztb;
import com.hospital.pojo.ZtbExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ZtbMapper {
    long countByExample(ZtbExample example);

    int deleteByExample(ZtbExample example);

    int deleteByPrimaryKey(Integer ztid);

    int insert(Ztb record);

    int insertSelective(Ztb record);

    List<Ztb> selectByExample(ZtbExample example);

    Ztb selectByPrimaryKey(Integer ztid);

    int updateByExampleSelective(@Param("record") Ztb record, @Param("example") ZtbExample example);

    int updateByExample(@Param("record") Ztb record, @Param("example") ZtbExample example);

    int updateByPrimaryKeySelective(Ztb record);

    int updateByPrimaryKey(Ztb record);
}